<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>escape</title>

<script type="text/javascript">
var encodeStr = escape("冬天的秘密");
console.log('escape = ', encodeStr);
var decodeStr = unescape(encodeStr)
console.log('unescape = ', decodeStr);

console.log('加密参数不能通过url传参');
  
</script>

<body>
 <h1>F12请看console</h1>
 <h2>加密参数不能通过url传参,  建议用crytojs的hex</h2>
</body>
</html>
